import request from "@/utils/request";
//清关登记-列表
export const invoiceRegisterList = (data) =>
  request({
    url: `/receipt/cls-invoice-register/index`,
    method: "post",
    data,
  });
//清关登记-详情
export const invoiceRegisterDetail = (params) =>
  request({
    url: `/receipt/cls-invoice-register/detail`,
    method: "get",
    params,
  });
//清关登记-批量修改
export const invoiceRegisterUpdate = (data) =>
  request({
    url: `/receipt/cls-invoice-register/update`,
    method: "post",
    data,
  });
//清关登记-导入
export const invoiceRegisterImport = (data) =>
  request({
    url: `/receipt/cls-invoice-register/import`,
    method: "post",
    data,
  });
//报关登记-列表
export const predictionRegisterList = (data) =>
  request({
    url: `/out/prediction-register/index`,
    method: "post",
    data,
  });
//获取汇率
export const getExchangeRate = (data) =>
  request({
    url: `/receipt/cls-invoice-register/exchange-rate`,
    method: "post",
    data,
  });

